package com.itdl.lock.enums;


import lombok.Getter;

/**
 * 锁异常枚举
 */
@Getter
public enum LockErrCode {

    WAIT_TIMEOUT("LOCK:1001", "获取锁失败"),
    EXEC_BUSINESS_ERR("LOCK:1002", "执行锁资源失败"),
    ;

    private final String code;
    private final String msg;

    LockErrCode(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

}
